using Microsoft.UI;
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;


namespace TextNovelReader.Views;

public sealed partial class MainWindow : Window
{
    public static WindowId WindowId { get; private set; }

    public MainWindow()
    {
        InitializeComponent();
        WindowId = AppWindow.Id;
        ExtendsContentIntoTitleBar = true;

        if (AppWindow.Presenter is OverlappedPresenter overlappedPresenter)
        {
            overlappedPresenter.Maximize(); 
        }
    }
}